//Mellon Mission Application
var MelonMissionApp = angular.module('MelonMissionApp', ['ngRoute', 'ui.bootstrap']);

//Router with the controllers and the templates configuration
MelonMissionApp.config(function($routeProvider){
	$routeProvider.when('/', {
		templateUrl : currentPath + 'assets/templates/index.html',
		controller : 'indexController'
	})
	.when('/about', {
		templateUrl : 'assets/templates/about.html',
		controller : 'aboutController'
	})
	.when('/history-of-melon', {
		templateUrl : 'assets/templates/history-of-melon.html',
		controller : 'historyController'
	})
	.when('/meet-the-team', {
		templateUrl : 'assets/templates/meet-the-team.html',
		controller : 'meetTeamController'
	})
});